package com.yanfan.dlt698_45.code;

/**
 * @author oliver foo
 * @description
 * @date 2023/3/22 13:51
 */
public class ObjectAddressDesc {

    /**
     * 正向有功总电能
     */
    public static final byte[] POSITIVE_ACTIVE_ENERGY = {0x00, 0x10, 0x02, 0x01};

    /**
     * 反向有功总电能
     */
    public static final byte[] REVERSE_ACTIVE_ENERGY = {0x00, 0x20, 0x02, 0x01};


    /**
     * A向电流
     */
    public static final byte[] CURRENT_A = {0x20, 0x01, 0x02, 0x01};

    /**
     * B向电流
     */
    public static final byte[] CURRENT_B = {0x20, 0x01, 0x02, 0x02};

    /**
     * C向电流
     */
    public static final byte[] CURRENT_C = {0x20, 0x01, 0x02, 0x03};


    /**
     * A向电压
     */
    public static final byte[] VOLTAGE_A = {0x20, 0x00, 0x02, 0x01};


    /**
     * B向电压
     */
    public static final byte[] VOLTAGE_B = {0x20, 0x00, 0x02, 0x02};


    /**
     * C向电压
     */
    public static final byte[] VOLTAGE_C = {0x20, 0x00, 0x02, 0x03};


    /**
     * 总功率因数
     */
    public static final byte[] POWER_FACTOR = {0x20, 0x0A, 0x02, 0x01};

    /**
     * A 相 功率因数
     */
    public static final byte[] POWER_FACTOR_A = {0x20, 0x0A, 0x02, 0x02};

    /**
     * B 相 功率因数
     */
    public static final byte[] POWER_FACTOR_B = {0x20, 0x0A, 0x02, 0x03};

    /**
     * C 相 功率因数
     */
    public static final byte[] POWER_FACTOR_C = {0x20, 0x0A, 0x02, 0x04};


    /**
     * 瞬时有功功率
     */
    public static final byte[] INSTANT_ACTIVE_POWER = {0x20, 0x04, 0x02, 0x01};


    /**
     * 瞬时无功功率
     */
    public static final byte[] INSTANT_REACTIVE_POWER = {0x20, 0x05, 0x02, 0x01};


}
